'use client';

import React, {FC} from 'react';
import { AudioOutlined } from '@ant-design/icons';
import { Input } from 'antd';
import type { SearchProps } from 'antd/es/input/Search';

const { Search } = Input;

const suffix = (
  <AudioOutlined
    style={{
      fontSize: 16,
      color: '#1677ff',
    }}
  />
);

const onSearch: SearchProps['onSearch'] = (value, _e, info) => console.log(info?.source, value);

const InputSearchProject:FC<{}> = () => (
  <Search placeholder="что-то найти..." onSearch={onSearch} />
);

export default InputSearchProject;